#ifndef SUDOKUCELLEDITOR_H
#define SUDOKUCELLEDITOR_H

#include <QLineEdit>

/**
  * Class to edit sudoku cell
  * @author Lukasz Szybka
  */
class SudokuCellEditor : public QLineEdit
{
    Q_OBJECT

public:
    SudokuCellEditor(QWidget* parent = 0);
    SudokuCellEditor(const QString& contents, QWidget* parent = 0);

protected:
    virtual void keyPressEvent(QKeyEvent* event);

private:
    Q_DISABLE_COPY(SudokuCellEditor)

};

#endif // SUDOKUCELLEDITOR_H
